<?php
namespace Mob\Model;
use Think\Model;
class LoaderInfoModel extends Model 
{
    protected $_validate = array(
        array('title','require','标题必填！'), //默认情况下用正则进行验证
        array('title','1,40','标题长度20个汉字！',3,'length'),
        array('uid','require','UID必填！'), //默认情况下用正则进行验证
        array('money','require','金额必填！'), //默认情况下用正则进行验证
        array('money','number','金额必须纯数字！'),
        array('tim_type','require','类型不能为空！'), //默认情况下用正则进行验证
        array('term','number','还款期限必须纯数字！'),
        array('overtime','require','过期时间不能为空！'),
        array('descrp','0,200','描述200个汉字以内！',3,'length'),
    );
}
?>